import request from '@/utils/request'

// 查询小组信息列表
export function listGroups_management(query) {
  return request({
    url: '/business/groups_management/list',
    method: 'get',
    params: query
  })
}

// 查询小组信息详细
export function getGroups_management(id) {
  return request({
    url: '/business/groups_management/' + id,
    method: 'get'
  })
}

// 新增小组信息
export function addGroups_management(data) {
  return request({
    url: '/business/groups_management',
    method: 'post',
    data: data
  })
}

// 修改小组信息
export function updateGroups_management(data) {
  return request({
    url: '/business/groups_management',
    method: 'put',
    data: data
  })
}

// 删除小组信息
export function delGroups_management(id) {
  return request({
    url: '/business/groups_management/' + id,
    method: 'delete'
  })
}
